home *** CD-ROM | disk | FTP | other *** search
/ Mac Mania 3 / MacMania 3.toast / Demo's / KarmaMacDemo / GAME_G1.DXR / 00236.ls < prev    next >
Encoding:
Text File  |  1995-10-24  |  1.2 KB  |  42 lines

  1. on DropingRight4
  2.   global DropCount
  3.   if DropCount < 5 then
  4.     set the locH of sprite 28 to the locH of sprite 28 + 3
  5.   else
  6.     if DropCount < 10 then
  7.       set the locV of sprite 28 to the locV of sprite 28 + 1
  8.       set the locH of sprite 28 to the locH of sprite 28 + 2
  9.     else
  10.       if DropCount < 15 then
  11.         set the locV of sprite 28 to the locV of sprite 28 + 2
  12.         set the locH of sprite 28 to the locH of sprite 28 + 2
  13.       else
  14.         if DropCount < 20 then
  15.           set the locV of sprite 28 to the locV of sprite 28 + 3
  16.           set the locH of sprite 28 to the locH of sprite 28 + 1
  17.         else
  18.           if DropCount < 25 then
  19.             set the locV of sprite 28 to the locV of sprite 28 + 2
  20.             set the locH of sprite 28 to the locH of sprite 28 + 1
  21.           else
  22.             if DropCount < 32 then
  23.               set the locV of sprite 28 to the locV of sprite 28 + 14
  24.             else
  25.               nothing()
  26.             end if
  27.           end if
  28.         end if
  29.       end if
  30.     end if
  31.   end if
  32.   if DropCount = 32 then
  33.     repeat with z = 3 to 28
  34.       puppetSprite(z, 0)
  35.     end repeat
  36.     go("startMovie")
  37.   else
  38.     set DropCount to DropCount + 1
  39.   end if
  40.   updateStage()
  41. end
  42.